<div class="container">
    <div class="panel dux-box">
       <div class="panel-head">{$name}用户组</div>
        <form method="post" class="form-x  form-auto" action="{url()}">
            <div class="panel-body">
                <div class="form-group">
                    <div class="label">用户组名称</div>
                    <div class="field">
                        <input type="text" class="input" id="name" name="name" size="60" data-validate="required:必填" placeholder="请输入用户组名称" value="{$info.name}">
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">额定积分</div>
                    <div class="field">
                        <input type="number" class="input" id="integral_limit" name="integral_limit" data-validate="required:必填" value="{default_data($info['integral_limit'],0)}">
                        <div class="input-note">用户升级积分达到该额度即可升级为该用户组</div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label for="sitename">用户组状态</label>
                    </div>
                    <div class="field">
                      <?php if(!isset($info['status'])){ $info['status'] = 1; }; ?>
                       <div class="button-group button-group-small radio">
                                <!--if{$info['status']}-->
                                <label class="button active"><input name="status" value="1" checked="checked" type="radio">
                                <!--{else}-->
                                <label class="button"><input name="status" value="1" type="radio">
                                <!--{/if}-->
                                <span class="icon icon-check"></span> 正常</label>
                                <!--if{!$info['status']}-->
                                <label class="button active"><input name="status" checked="checked" value="0" type="radio">
                                <!--{else}-->
                                <label class="button"><input name="status" value="0" type="radio">
                                <!--{/if}-->
                                <span class="icon icon-times"></span> 禁止</label>
                            </div>
                    <div class="input-note">禁止后该用户组不可登录等操作</div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">特殊组</div>
                    <div class="field">
                       <div class="button-group button-group-small radio">
                                <!--if{$info['special']}-->
                                <label class="button active"><input name="special" value="1" checked="checked" type="radio">
                                <!--{else}-->
                                <label class="button"><input name="special" value="1" type="radio">
                                <!--{/if}-->
                                <span class="icon icon-check"></span> 特殊</label>
                                <!--if{!$info['special']}-->
                                <label class="button active"><input name="special" checked="checked" value="0" type="radio">
                                <!--{else}-->
                                <label class="button"><input name="special" value="0" type="radio">
                                <!--{/if}-->
                                <span class="icon icon-check"></span> 正常</label>
                            </div>
                    <div class="input-note">特殊组不可通过积分升级达到该组</div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">后台用户</div>
                    <div class="field">
                       <div class="button-group button-group-small radio">
                                <!--if{$info['admin']}-->
                                <label class="button active"><input name="admin" value="1" checked="checked" type="radio">
                                <!--{else}-->
                                <label class="button"><input name="admin" value="1" type="radio">
                                <!--{/if}-->
                                <span class="icon icon-check"></span> 后台</label>
                                <!--if{!$info['admin']}-->
                                <label class="button active"><input name="admin" checked="checked" value="0" type="radio">
                                <!--{else}-->
                                <label class="button"><input name="admin" value="0" type="radio">
                                <!--{/if}-->
                                <span class="icon icon-check"></span> 普通</label>
                            </div>
                    <div class="input-note">设置为后台用户组后即可通过使用论坛管理功能</div>
                    </div>
                </div>
            </div>
            <div class="panel-foot">
                <div class="form-button">
                    <div id="tips"></div>
                    <input type="hidden" name="group_id" type="hidden" value="{$info.group_id}">
                    <button class="button bg-main" type="submit">保存</button>
                    <button class="button bg" type="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
    <br>
</div>